This forum is closed to new posts and
responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:
RE: trapping background image size ~Umberto Nongeroson 16.Nov.03 10:37 PM a Web browser Domino Designer 6.0.1 CF2All Platforms
I assume you mean size in bytes, not dimensions.
The action of setting the background of a document to an imported image, creates an item called $BackgroundBody. Probably, in the Querysave event you can detect that NotesItem and test its ValueLength property.
If you're concerned that these images might take up too much space, why not supply several backgrounds as image resources? These use very little extra space each time they're used, and they're less trouble for the users than seeking out and importing their own backgrounds. Providing you name them so that they're grouped together at the top of the selection list, before any other images you use in your application.